home *** CD-ROM | disk | FTP | other *** search
/ The Guinness Encyclopedia / The Guinness Encyclopedia - Wayzata Technology (3221-1B) (Disc 1) (1995).iso / mac / 16in_cre.dit / stack_-1.xml < prev    next >
Extensible Markup Language  |  1995-06-13  |  4KB  |  20 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in.dit</name>
  5.     <id>-1</id>
  6.     <cardCount>1</cardCount>
  7.     <cardID>5265</cardID>
  8.     <listID>2256</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>640</width>
  14.         <height>480</height>
  15.     </cardSize>
  16.     <script>on closeCardlock screenpass closeCardend closeCardon colorMeAddColor colorCard,stamp,30end colorMeon resumeStackdisable menuItem "Print Text" of menu "File"disable menuItem "Print Image" of menu "File"enable menu "Edit"enable menu "Go"disable menuItem "Copy Text" of menu "Edit"disable menuItem "Copy Image" of menu "Edit"end resumeStackon openCardSend colorMe to this cardpass openCardunlock screenend openCardon closeStackAddColor removepass closeStackend closeStackon openStackset lockscreen to trueAddColor installglobal QToperationalput 1 into QToperationalset lockMessages to trueQTMovie versionput the result into xxxxput it into kkkif "Error" is in xxxx thenanswer "QuickTime is not available, some options will not be available"put 0 into QToperationalend ifset lockMessages to falsedisable menuItem "Print Text" of menu "File"disable menuItem "Print Image" of menu "File"enable menu "Edit"enable menu "Go"disable menuItem "Copy Text" of menu "Edit"disable menuItem "Copy Image" of menu "Edit"pass openStackset lockscreen to falseend openStackon doMenu menuItemif menuItem is "Go Back" thenWTIgobackelse if menuItem is "Help" thenWTIhelpexit doMenuelse if menuItem is "Main" thenWTImainelse if menuItem is "Gallery" thenWTIgalleryelse if menuItem is "Explorer" thenWTIexploreelse if menuItem is "Credits" thenWTIcreditselse if menuItem is "Encyclopedia" thenWTIencyclelse if menuItem is "Languages" thengo to card 1 of stack "Guinness:mac:language samples" in a new windowelse if menuItem is "About Hypercard..." thenWTIcreditsexit doMenuelse if menuItem is "Quit Encyclopedia" thendoMenu "Quit HyperCard"exit doMenuend ifpass doMenuend doMenuon WTIcreditsgo to card 1 of stack "Guinness:Mac:16in Credits"end WTIcreditson WTInextgo to nextend WTInexton WTIpreviousgo to previousend WTIpreviouson WTImaingo to card 1 of stack "Guinness:Mac:16in Main"end WTImainon WTIhelpgo to card 1 of stack "Guinness:Mac:16in Help"end WTIhelpon WTIquitdoMenu "Quit HyperCard"end WTIquiton WTIexplorego to card 1 of stack "Guinness:Mac:16in Explorer"end WTIexploreon WTIgallerygo to card 1 of stack "Guinness:Mac:16in Gallery"end WTIgalleryon WTIencyclgo to card 1 of stack "Guinness:Mac:16in Encyclopedia"end WTIencyclon WTIgoback-- global lastCard, lastBook-- go to card lastCard of lastBookgo to recent cardend WTIgobackon WTIgotopage CardN-- go to card CardNanswer "go to card # " & CardNend WTIgotopageon PlayMovie movieNameset cursor to 4-- put movieNameif last char of movieName is ":" then exit PlayMovieif there is a window "Movie Window" thenset replaceMovie of window "Movie Window" to movieNameget the resultif "Error" is in it then-- put the resultanswer "Couldn't Play That Movie"exit PlayMovieend ifset loop of window "movie Window" to trueelseput item 3 of the rect of this card + 10 & "," & 10 into movieLocput movieName into MyMoovie--QTMovie OpenMovie, windoid, MyMoovie, deepest, dontPaintWhite, closeOnFinishQTMovie OpenMovie, windoid, MyMoovie, deepestget the resultif "Error" is in it then--      put the resultanswer "Couldn't Play That Movie"exit PlayMovieend if--set windowName of window ExtractFileName(movieName) to "Movie Window"end ifend PlayMovieon DisposeVideoglobal movieIDif movieID is not empty and movieID is a number thenQTMovie Direct,movieID,Disposeput empty into movieIDend ifend DisposeVideoon idleglobal movieiDif movieID is not empty thenQTMovie Direct, movieID, idleend ifend idleon Titleend Titleon refreshglobal movieIDQTMovie Direct, Movie ID, Get, movieLocput the result into xyQTMovie Direct, Movie ID, Set. movieLoc, xyend refresh</script>
  17.     <background id="5472" file="background_5472.xml" name="generic" />
  18.     <card id="5265" file="card_5265.xml" marked="false" name="Table of Contents" owner="5472" />
  19. </stack>
  20.